<?php

namespace app\backend\validator;

use think\Validate;

class UpdUserValidator extends Validate
{
    protected $rule = [
        'id'     => 'require',
        'status' => 'in:0,1'
    ];

    protected $message = [
        'id.require' => '商品分类ID必填',
        'status.int' => '未知用户账号状态类型',
    ];
}